<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.util.*" errorPage="/error.jsp" %>
<%@ page import="com.beans.music.*" %>
<%@ page import="com.business.music.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%String title="修改音乐盒"; %>
<%@include file="header.jsp"%>
<%
	String type=request.getParameter("id");
	int typeId=Integer.parseInt(type);
	MusicTypeBus mtb=new MusicTypeBus();
	MusicType mt=mtb.getMusicTypeById(typeId);
%>
<form id="form1" name="form1" method="post" action="editmusictype">
  <p>音乐盒：</p>
  <p>名称：
    <label>
    <input name="musictypename" type="text" id="musictypename" value="<%=mt.getMusictypeName()%>"/>
    </label>
  </p>
  <p>该盒的描述：
    <label>
    <input name="musictypememo" type="text" id="musictypememo" value="<%=mt.getMusictypeMemo()%>" />
    </label>
  </p>
  <p>&nbsp;</p>
  <p>
    <label>
    <input type="submit" name="Submit" value="提交" />
    </label>
    <label>
    <input type="reset" name="Submit2" value="重置" />
    </label>
	<input name="id" type="hidden" value="<%=typeId%>" />
    <input name="username" type="hidden" id="username" value="<%=username%>"  />
  </p>
</form>
<%@ include file="footer.jsp"%>
</body>
</html>
